package cn.jiyun.pojo.cokpit;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;


/**
 * 订单表(Orders)表实体类
 *
 * @author makejava
 * @since 2024-12-27 17:01:19
 */
@TableName("orders")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders{
    @TableId(type = IdType.AUTO)
//主键
    private Integer id;
//订单编号
    private String orderNumber;
//订单生成时间
    private Date startingDate;
//订单状态，1已完成，2待接单，3已接单，4司机已接乘客  ,5取消订单
    private Integer orderStatus;
//用户ID
    private Integer userId;
//司机ID
    private Integer driverId;
//支付状态，如 “1未支付”、“2已支付”、
    private Integer paymentStatus;
//支付时间
    private Date paymentTime;
//核销金额
    private BigDecimal cancelMoney;
//核销编号
    private String orderCancel;
//核销状态
    private Integer cancelStatus;
//订单类型 1实时叫车 2预约叫车
    private Integer orderTypes;
//订单里程数
    private Integer mileage;
//订单耗时
    private Integer timeConsuming;
//司机评分
    private BigDecimal driverRating;
//上车地点
    private String pickupLocation;
//下车地点
    private String dropoffLocation;
//上车地点的纬度
    private BigDecimal pickupLatitude;
//上车地点的经度
    private BigDecimal pickupLongitude;
//下车地点的纬度
    private BigDecimal dropoffLatitude;
//下车地点的经度
    private BigDecimal dropoffLongitude;
//订单的总金额
    private BigDecimal totalAmount;
//实际支付的金额
    private BigDecimal paymentAmount;
//支付方式，微信支付、支付宝支付、银行卡支付
    private String paymentMethod;
//乘客手机号
    private String passengerPhone;
//出发点城市
    private String startCity;
//出发点行政区
    private String startRegi;
//途径点1
    private String pathwayOne;
//途径点1城市
    private String pathwayoneCity;
//途径点2
    private String pathwayTwo;
//途径点2城市
    private String pathwaytwoCity;
//目的地城市
    private String destinationCity;
//目的地行政区
    private String destinationRegion;
//实际下车点
    private String practicalOff;
//实际下车城市
    private String practicalCity;
//订单接单时间
    private Date receivingTime;
//订单等待时间
    private Date latencyTime;
//订单预约时间
    private Date appointmentTime;
//订单到达时间
    private Date arrivalTime;
//是否提前下车1(是) ；2(否)
    private Integer ifDebarkation;
//行车费用
    private BigDecimal vehicleCost;
//附加费用
    private BigDecimal additionalCharge;
//司机收益
    private BigDecimal driverEarnings;
//乘客投诉司机1就代表一条投诉以此类推
    private Integer complaintDriver;
//司机投诉乘客1就代表一条投诉以此类推
    private Integer complaintPassenger;
//即时聊天
    private String chitchat;
//电话通讯
    private Integer phoneNumber;
//用户支付宝编号
    private String alipayNumber;
//签约费
    private BigDecimal labelFee;
//实际费率
    private BigDecimal practicalFee;
//平台收益
    private BigDecimal earnings;
//订单目的地
    private String orderDestination;
//司机到达时间
    private Date driverArrive;
//通讯次数
    private Integer frequency;




}

